<?php
/**
 * User: 1971229701@qq.com
 * Date: 2020/9/9/009
 * Time: 14:45
 */

namespace app\common\config_init;


use think\facade\Env;

trait Openssl
{
    private $public_key;
    private $private_key;

    public function __construct()
    {
        $path = Env::get('extend_path');
        //$pub_path = $path . "openssl\public_key.php";
        $pri_path = $path . 'openssl\private_key.php';
        //$this->public_key = include_once $pub_path;
        $this->private_key = include_once $pri_path;
    }
}